@if($errors->any())
    @foreach($errors->all() as $msg)
        <div class="flash-message">
            <p class="alert alert-danger">
                {{ $msg }}
            </p>
        </div>
    @endforeach
@endif